package com.zhny.sensor.service;

import com.zhny.sensor.dao.BarcodeMachineDao;
import com.zhny.sensor.entity.BarcodeMachine;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BarcodeMachineService {
    @Autowired
    private BarcodeMachineDao barcodeMachineDao;

    public List<String> queryBarcodeMachineIds(String slaughterHouseId){
        return barcodeMachineDao.queryBarcodeMachineIds(slaughterHouseId);
    }

    public List<String> queryBarcodeMachine(String slaughterHouseId){
        return barcodeMachineDao.queryBarcodeMachineIds(slaughterHouseId);
    }
}
